define('core/util',function(){
    return  {
        namespace : function(ns){
            var tmp = ns.split('.'),
                tempKey;
            tempKey = tmp.shift();
            window[tempKey] = window[tempKey] || {};
            return (function (item){
                var tKey = tmp.shift();
                //console.log(tKey,tmp.length);
                item[tKey] = item[tKey] || {};
                if(tmp.length !== 0){
                    return arguments.callee.call(this ,item[tKey]);
                }
                return item;
            }).call(this ,window[tempKey]);
        }
    };
})